package dome2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 王圆豪
 * Date: 2024-05-20
 * Time: 20:20
 */
public class Animal {
    public String name = "小白";
    public int age;

    public void eat() {
        System.out.println(this.name + "正在吃饭....");
    }

    public String toString() {
        return this.name;
    }
}
